<?php get_header();?>	
<!-- shell -->

    <?php !dynamic_sidebar('Sidebar_right'); ?>

		<div class="shell">
			<!-- main -->
			<div class="main">
				
				<section class="post">

                                        <?php
                                                    global $post;
                                                    $args = array('numberposts'=>8, 'category'=>8,12,7 ,'orderby'=>'rand');
                                                    $custom_posts = get_posts($args);
                                                    foreach($custom_posts as $post) : setup_postdata($post);
                                                        
                                                    echo '<div class="abox">';
                                                    echo'<a href="';  the_permalink(); echo '" style="color:#000000 "><h1 style="font-size: 13px;color: #000000;margin-bottom: -20px;"><img src="'.get_template_directory_uri().'/images/blackberrylogo.png" alt="" style="height: 20px;width: 20px;margin-right: 1px; "/>'; the_title();echo'</h1></a>';
                                                    echo '<br>';
                                                    $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
                                                    echo '<img src="'.$url.'" alt="" style="height: 150px; width: auto;margin-right: 50px; "/>';
                                                        echo'<div class="button"><a href="';the_permalink(); echo'">View More</a></div>';
                                                        echo '</div>';                                                      
                                                    endforeach;
                                                    wp_reset_postdata();
                                                    ?>
                                        
                                            
                                          
					<div class="cl">&nbsp;</div>
                                        
				</section>
                            <!-- cols -->
				<section class="cols">
					<div class="col">
						<a href="#" style="color:#828282 "><img src="<?php echo get_template_directory_uri(); ?>/images/tick.png" alt="" style="height: 100px;width: 100px;margin-left: -15px;"/>
                                                   <h1  style='padding-top: 50px;font-size: 25px;'>Sản Phẩm HoT</h1></a>
                                                   <br>
                                                   <br>
                                                    <?php
                                                    global $post;
                                                    $args = array('numberposts'=>5, 'category'=>8 ,'orderby'=>'rand');
                                                    $custom_posts = get_posts($args);
                                                    foreach($custom_posts as $post) : setup_postdata($post);
                                                        echo '<br>';
                                                        echo '<a href="';  the_permalink(); echo '"<h1 style="font-size: 13px;color: #000000;font-weight: bold;margin-left: -15px;"><img src="'.get_template_directory_uri().'/images/blackberrylogo.png" alt="" style="height: 20px;width: 20px;"/>';the_title();echo'</h1></a>';
                                                        echo'<p style="font-size: 15px;font-style: italic;">'.  the_excerpt().'</p>';
                                                        echo '<a href="';  the_permalink(); echo'" class="green-btn">---------------------------------------------------View more---</a>';
                                                    endforeach;
                                                    wp_reset_postdata();
                                                    ?>
					</div>
					<div class="col">
						<a href="#" style="color:#828282 "><img src="<?php echo get_template_directory_uri(); ?>/images/tick.png" alt="" style="height: 100px;width: 100px;"/>
						
							<h1 style='padding-top: 50px;font-size: 25px;'>Kinh Nghiệm</h1></a>
							<br>
                                                        <br>
                                                        <?php
                                                    global $post;
                                                    $args = array('numberposts'=>5, 'category'=>8 ,'orderby'=>'rand');
                                                    $custom_posts = get_posts($args);
                                                    foreach($custom_posts as $post) : setup_postdata($post);
                                                        echo '<br>';
                                                        echo '<a href="';  the_permalink(); echo '"<h1 style="font-size: 13px;color: #000000;font-weight: bold;margin-left: -15px;"><img src="'.get_template_directory_uri().'/images/blackberrylogo.png" alt="" style="height: 20px;width: 20px;"/>';the_title();echo'</h1></a>';
                                                        echo'<p style="font-size: 15px;font-style: italic;">'.  the_excerpt().'</p>';
                                                        echo '<a href="';  the_permalink(); echo'" class="green-btn">---------------------------------------------------View more---</a>';
                                                    endforeach;
                                                    wp_reset_postdata();
                                                    ?>
						
					</div>
					<div class="col">
						<a href="#" style="color:#828282 "><img src="<?php echo get_template_directory_uri(); ?>/images/tick.png" alt="" style="height: 100px;width: 100px;margin-left: 5px;"/>
						
							<h1 style='padding-top: 50px;font-size: 25px;'>Ứng Dụng</h1></a>
                                                        <br>
                                                        <br>
							<?php
                                                    global $post;
                                                    $args = array('numberposts'=>5, 'category'=>8 ,'orderby'=>'rand');
                                                    $custom_posts = get_posts($args);
                                                    foreach($custom_posts as $post) : setup_postdata($post);
                                                        echo '<br>';
                                                        echo '<a href="';  the_permalink(); echo '"<h1 style="font-size: 13px;color: #000000;font-weight: bold;margin-left: -15px;"><img src="'.get_template_directory_uri().'/images/blackberrylogo.png" alt="" style="height: 20px;width: 20px;"/>';the_title();echo'</h1></a>';
                                                        echo'<p style="font-size: 15px;font-style: italic;">'.  the_excerpt().'</p>';
                                                        echo '<a href="';  the_permalink(); echo'" class="green-btn">---------------------------------------------------View more---</a>';                                                        
                                                    endforeach;
                                                    wp_reset_postdata();
                                                    ?>
						
					</div>
					<div class="cl">&nbsp;</div>

				</section>
				<!-- end of cols -->

				<section class="content">
                                    <h1 style="font-style: italic;color: #000000;font-size: 30px;"><img src="<?php echo get_template_directory_uri(); ?>/images/tick.png" alt="" style="height: 50px;"/> Cam Kết Chất Lượng</h1>
                                    <?php
                                    global $post;
                                    $args = array('numberposts'=>1, 'category'=>3 ,'orderby'=>'rand');
                                    $custom_posts = get_posts($args);
                                    foreach($custom_posts as $post) : setup_postdata($post);
                                        echo '<br>';
                                        echo'<p style="font-size: 15px;font-style: italic;">'.the_content().'</p>';
                                        echo'<p>';the_author();echo '<p>';
                                        echo "<a href=";
                                        the_permalink();
                                        echo 'class="more">view more</a>';
                                    endforeach;
                                    wp_reset_postdata();
                                    ?>
<!--					<p><br>Maecenas vel est sit amet massa dignissim <span>hendrerit</span> sit amet ac ante. Praesent dapibus neque vel enim adipiscing vel feugiat leo luctus. Nulla semper varius nulla, eu euismod turpis volutpat in. Nullam neque diam, facilisis vitae suscipit eu, gravida ut tortor. Duis faucibus lectus nec metus elementum ac <a href="#">adipiscing</a> lorem consectetur. Nulla dui ipsum, <em>iaculis a mollis vel</em>, sodales a ipsum. Nam tincidunt consequat lacus eget imperdiet. Nullam posuere convallis libero, vitae lobortis libero fermentum eu. Ut id venenatis lectus. <strong>Donec eget</strong> quam et dolor facilisis commodo nullam tempor aliquet vulputate phasellus ac libero sed justo luctus vehicula.<br /> <a href="#" class="more">Trần Thế Tâm</a></p>-->
				</section>

				<section class="partners">
					
					<div id="partners-slider" style="padding-left: 80px;">
						<div class="slider-holder2">
						    <img src="<?php echo get_template_directory_uri(); ?>/images/Movistar.png"  height="52" />
						    <img src="<?php echo get_template_directory_uri(); ?>/images/Rogers.png"  height="52" />
						    <img src="<?php echo get_template_directory_uri(); ?>/images/apple.png"  height="52" />
						    <img src="<?php echo get_template_directory_uri(); ?>/images/AT&T.png"  height="52" />
						    <img src="<?php echo get_template_directory_uri(); ?>/images/Vodafone.png"  height="52" />
						    <img src="<?php echo get_template_directory_uri(); ?>/images/cable_and_wireless_logo.png"  height="52" />
						    <img src="<?php echo get_template_directory_uri(); ?>/images/maxis.png"  height="52" />
						    <img src="<?php echo get_template_directory_uri(); ?>/images/Nextel.png"  height="52" />
                                                    <img src="<?php echo get_template_directory_uri(); ?>/images/Sprintr.png"  height="52" />
                                                    <img src="<?php echo get_template_directory_uri(); ?>/images/verizon.png"  height="52" />
						</div>
					</div>
					<div class="slider-arr">
						<a class="prev-arr arr-btn" href="#"></a>
						<a class="next-arr arr-btn" href="#"></a>
					</div>
				</section>

				<div class="socials">
<!--					<p>We are currently <strong>available</strong> for work. Please, contact us for a quote at <span><a href="#">contact [at] websitename [dot] com</a></span></p>-->

					<ul>
						<li><a href="https://www.facebook.com/profile.php?id=100004660748549" class="facebook-ico">facebook-ico</a></li>
						<li><a href="#" class="twitter-ico">twitter-ico</a></li>
						<li><a href="#" class="skype-ico">skype-ico</a></li>
						<li><a href="#" class="rss-ico">rss-ico</a></li>
					</ul>
				</div>
			</div>
			<!-- end of main -->
		</div>
		<!-- end of shell -->	
                
                

<?php get_footer();?>